export default {
  'POST /api/device_alarm/today_detail': (req, res) => {
    res.send({
      "code": "200",
      "errorMsg": "SUCCESS",
      "data": {
        "fire": 5,
        "fireHandle": 2,
        "danger": 251,
        "dangerHandle": 212,
        "score": 80
      }
    });
  },

  'POST /api/device/type_count_list': (req, res) => {
    res.send({
      "code": "200",
      "errorMsg": "SUCCESS",
      "data": [{
        "kind": "23617",
        "kindName": "烟感",
        "on": 1,
        "off": 1
      }, {
        "kind": "23618",
        "kindName": "智慧用水",
        "on": 1,
        "off": 1
      }]
    });
  },

  'POST /api/rule_task/index_list': (req, res) => {
    res.send({
      "code": "200",
      "errorMsg": "SUCCESS",
      "data": [{
        "status": 1,
        "statusName": "待检查",
        "name": "消控室检查",
        "startTime": "2019-06-15 00-20-16",
        "endTime": ""
      }, {
        "status": 2,
        "statusName": "检查中",
        "name": "消控室检查",
        "startTime": "2019-06-01 00-20-16",
        "endTime": ""
      }, {
        "status": 4,
        "statusName": "未检查",
        "name": "消控室检查",
        "startTime": "2019-06-01 00-20-16",
        "endTime": ""
      }]
    })
  },

  'POST /api/device_alarm/month/page': (req, res) => {
    res.send({
      "code": "200",
      "errorMsg": "SUCCESS",
      "data": [{
        "locationName": "消控室门口",
        "type": "1",
        "typeName": "火警",
        "count": "20",
        "pushTime": "2019-07-24  16：42：12"
      }, {
        "locationName": "2幢1楼消防楼梯口",
        "type": "1",
        "typeName": "故障",
        "count": "16",
        "pushTime": "2019-07-24  16：42：12"
      }]
    })
  },

  'POST /api/device_alarm/fire/week/chart': (req, res) => {
    res.send({
      "code": "200",
      "errorMsg": "SUCCESS",
      "data": {
        "fireDay": [
          "2019-08-14",
          "2019-08-15",
          "2019-08-16",
          "2019-08-17",
          "2019-08-18",
          "2019-08-19",
          "2019-08-20"
        ],
        "fireQuantity": [
          12,
          13,
          11,
          8,
          17,
          12,
          23
        ],
        "fireTotal": 95,
        "fireError": 6
      }
    })
  },

  'POST /api/device_alarm/danger/week/chart': (req, res) => {
    res.send({
      "code": "200",
      "errorMsg": "SUCCESS",
      "data": {
        "dangerDay": [
          "2019-08-14",
          "2019-08-15",
          "2019-08-16",
          "2019-08-17",
          "2019-08-18",
          "2019-08-19",
          "2019-08-20"
        ],
        "dangerQuantity": [
          12,
          12,
          12,
          12,
          12,
          12,
          23
        ],
        "dangerTotal": 95,
        "dangerError": 6
      }
    })
  }
}